package kr.hkit.powerjava.chapter12;

public class Rectanble extends Shape {
	int width, height;

	public void draw() {
		System.out.println("sdjflk");

	}
	public static void main(String[] args) {
		Shape[] arrShape = new Shape[2];
		arrShape[0] = new Rectanble();
		arrShape[1] = new Triangle();
		
		for (int i = 0; i < arrShape.length; i++) {
			
		}
	}
}

abstract class Triangle extends Shape {
}
